package study;

import java.util.BitSet;

public class BitSetDemo {
    public static void main(String[] args) {
        BitSet set = new BitSet();
        set.set(0);
        set.set(63);
        set.set(64);
        set.set(127);
        long[] arr = set.toLongArray();
        for (long l : arr) {
            System.out.println(Long.toBinaryString(l));
        }
    }
}
